package com.mouse.hxsj.view;

import com.mouse.damo.micro.Com;
import com.mouse.damo.micro.Sleep;
import com.mouse.haoi.service.CustomService;
import com.mouse.hxsj.service.ActionService;

import java.util.Calendar;

public class Test4 {
    public static void main(String[] args) {
        Calendar instance = Calendar.getInstance();
        instance.add(Calendar.HOUR_OF_DAY, 8);

        Com com1 = new Com();
        com1.bind(1901990);
        ActionService.double2(com1);
        Sleep.sleep(1000);
        ActionService.shenMu(com1,instance.getTime());
        new CustomService().loop(Integer.MAX_VALUE,() -> {
            ActionService.shengJi(com1);
            Sleep.sleep(10000);
            return false;
        });
    }
}
